const Mock = require("mockjs");
const data = Mock.mock({
    "list|7":[{
        title:"@ctitle(4,6)",
        id:"@id",
        "time":"@time",
        "price|100-300":50,
         "non-payment":"未支付",
         "order":"APP订单",
         "polling":"代付款"
    }]
})
console.log(data)
module.exports = {
    devServer:{
        before(app){
            app.post("/api/getList",(req,res) => {
                res.send(data)
            })
        }
    }
}